package com.wangmei.mapper;


import java.util.List;
import java.util.Map;

import com.wangmei.model.OrderProduct;
import com.wangmei.model.OrderProductExample;
import com.wangmei.pojo.OrderAddr;
import com.wangmei.pojo.OrderFinish;
import org.apache.ibatis.annotations.Param;

public interface OrderProductMapper {
    int countByExample(OrderProductExample example);

    int deleteByExample(OrderProductExample example);

    int deleteByPrimaryKey(String oid);

    int insert(OrderProduct record);

    int insertSelective(OrderProduct record);

    List<OrderProduct> selectByExample(OrderProductExample example);

    OrderProduct selectByPrimaryKey(String oid);

    int updateByExampleSelective(@Param("record") OrderProduct record, @Param("example") OrderProductExample example);

    int updateByExample(@Param("record") OrderProduct record, @Param("example") OrderProductExample example);

    int updateByPrimaryKeySelective(OrderProduct record);

    int updateByPrimaryKey(OrderProduct record);

    List<OrderAddr> queryAllOrder(Map map);

    List<String> queryOrderIdByUid(Map map);

    int deletePay(Map map);

    OrderFinish orderfinalsearch(Map map);

}